package com.hxd.mall.injector.modules

import com.hxd.mall.injector.scope.ActivityScope
import com.hxd.mall.module.school.video.IVideoPresenter
import com.hxd.mall.module.school.video.IVideoView
import com.hxd.mall.module.school.video.VideoActivity
import com.hxd.mall.module.school.video.VideoPresenter
import dagger.Binds
import dagger.Module

/**
 * @author zhaoyong
 * @description:
 * @date :2019-10-15 14:02
 */
@Module
abstract class VideoModule {
    @Binds
    internal abstract fun bindView(activity: VideoActivity): IVideoView

    @ActivityScope
    @Binds
    abstract fun provideMainPresenter(presenter: VideoPresenter): IVideoPresenter
}